using B.S.NewMedical.Api.Read.DTOS.Guide;
using B.S.NewMedical.ErrorCode;
using MediatR;

namespace B.S.NewMedical.Api.Read.Application.Command.MobileService.Guide
{
    /// <summary>
    /// 获取就医指南详情命令
    /// </summary>
    public class GetGuideDetailCommand : IRequest<ApiResult<GuideDetailDto>>
    {
        /// <summary>
        /// 文章ID
        /// </summary>
        public int ArticleId { get; set; }
        
        /// <summary>
        /// 用户ID，可选，用于获取互动状态
        /// </summary>
        public int? UserId { get; set; }

        public GetGuideDetailCommand(int articleId, int? userId = null)
        {
            ArticleId = articleId;
            UserId = userId;
        }
    }
} 